package registnet.base;

/**
 * This class provides default implementations for the <code>IPerson</code> interface.
 */
public abstract class AbstractPerson implements IPerson {

	/**
	 * The first name of the person.
	 */
	protected String firstName;
	
	/**
	 * The middle name/initial of the person.
	 */
	protected String middleName;
	
	/**
	 * The last name of the person.
	 */
	protected String lastName;
	
	/**
	 * The gender of the person.
	 */
	protected String sex;

	@Override
	public String getFirstName() {
		return firstName;
	}

	@Override
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	@Override
	public String getMiddleName() {
		return middleName;
	}

	@Override
	public void setMiddleName(String middleName) {
		this.middleName = middleName;
	}

	@Override
	public String getLastName() {
		return lastName;
	}

	@Override
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	
	@Override
	public String getSex() {
		return sex;
	}

	@Override
	public void setSex(String sex) {
		this.sex = sex;
	}
	
}
